package com.lucifer.d.security.service.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Lucifer
 * @create 2024 - 06 - 06 16:58
 */
@Data
@ConfigurationProperties(prefix = "lucifer.security.cloud.own-center")
public class OwnRedisProperties {

    /**
     * 是否启用独立redis库注册中心
     */
    private boolean enable = false;

    /**
     * lucifer-security用redis库地址
     */
    private String address = "default";

    /**
     * lucifer-security用redis端口
     */
    private Integer port = 0;

    /**
     * lucifer-security用redis库密码
     */
    private String password = "";

    /**
     * lucifer-security用redis库编号
     */
    private Integer club = 0;

}
